package com.SmartCare.pojo.health;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 血糖记录表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class BloodGlucose implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 老人编号
     */
    @TableField("elderly_id")
    private Long elderlyId;

    /**
     * 血糖
     */
    private Float bloodGlucose;

    /**
     * 时刻
     */
    private String moment;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;
}
